﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PlaneClean.Models
{
    /// <summary>
    /// 基础返回类
    /// </summary>
    public class BaseResponse

    {
        /// <summary>
        /// 
        /// </summary>
        public BaseResponse()
        {
            this.result = "NG";
        }
        /// <summary>
        /// 返回结果
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 返回原因
        /// </summary>
        public string reason { get; set; }
    }
    /// <summary>
    /// 返回结果数据类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class BaseResponse<T> : BaseResponse
    {
        /// <summary>
        /// 返回结果数据
        /// </summary>
        public T Body { get; set; }
    }
}